-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable opentelemetry installation for unit tests #4871
Conversation
CC @v1v |
Backport to stable-4: 💚 backport PR created✅ Backport PR branch: Backported as #4872 🤖 @patchback |
(cherry picked from commit 1eee35d)
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #4873 🤖 @patchback |
(cherry picked from commit 1eee35d)
Thanks @felixfontein I wonder if pin the transitive dependency could help in this particular case. Likely related to protocolbuffers/protobuf#10051 and open-telemetry/opentelemetry-python#2717 |
@v1v that could work. It might be a bit tricky though since the pin is probably dependent on the Python version as well. On the other hand, just not installing it for older Python version is still better than not installing it at all. |
For anyone who is looking for a proper solution, |
I think |
SUMMARY
Regularly CI (unit tests) is breaking because Protobuf for Python that's required by opentelemetry:
(Python 3.8 and 3.9)
See for example https://dev.azure.com/ansible/community.general/_build/results?buildId=45905&view=results
This is usually fixed after a couple of days, but this is really annoying me, so I'm going to disable these tests by removing the dependencies from tests/unit/requirements.txt.
ISSUE TYPE
COMPONENT NAME
unit tests